import request from '@/utils/request'

// 查询会议室表列表
export function listMeeting_room(query) {
  return request({
    url: '/eamp/meeting_room/list',
    method: 'get',
    params: query
  })
}

export function listMeetingroomid() {
  return request({
    url: '/eamp/meeting_room/roomId',
    method: 'post',
 
  })
}

// 查询会议室表详细
export function getMeeting_room(roomId) {
  return request({
    url: '/eamp/meeting_room/' + roomId,
    method: 'get'
  })
}

// 新增会议室表
export function addMeeting_room(data) {
  return request({
    url: '/eamp/meeting_room',
    method: 'post',
    data: data
  })
}

// 修改会议室表
export function updateMeeting_room(data) {
  return request({
    url: '/eamp/meeting_room',
    method: 'put',
    data: data
  })
}

// 删除会议室表
export function delMeeting_room(roomId) {
  return request({
    url: '/eamp/meeting_room/' + roomId,
    method: 'delete'
  })
}
